IGroup.SetPositionOffset method

Sets the position of all axes in a group without moving the axes. The new coordinates are described in an array. With the coordinate system input a coordinate system is selected accordingly. The input coordinates will be converted from the provided coordinate system to the specified coordinate system for the values to be sent to individual axes. The position will be updated for all available coordinate systems.

Namespace: IntervalZero.KINGSTAR.Base.Class

Assembly: IntervalZero.KINGSTAR.Base.Class (in IntervalZero.KINGSTAR.Base.dll) Version: 4.4.0.0

Syntax

C#VB
void SetPositionOffset(
       double[] position,
       bool relative
)
Sub SetPositionOffset(
       position As Double(),
       relative As Boolean
)

Parameters

position

Type: double[]

The array of coordinates that represents the desired position of the group, including positions and orientations. Each axis in the group needs one value. It means distance if Relative = true.

 

relative

Type: bool

The mode of position inputs. true: Relative distance. false: Absolute position. By default it's false.

See also

IGroup Interface

IntervalZero.KINGSTAR.Base.Class Namespace